/**
 * 统一上传图片接口
 */

const Router = require("express");
const router = new Router();

// 引入业务逻辑
const uploadDis = require("../business/uploadDis");

router.post("/", (req, res) => {
  uploadDis.upload(req, res);
})


module.exports = () => {
  return router;
}